<div class="view left">
    <div class="span-5">
        <?php
            $path = Yii::app()->params['uploadProductPath'];
            $img = $path.date('Y',$data->folder->file_created).'/'.date('m',$data->folder->file_created).'/'.date('d',$data->folder->file_created).'/'.$data->folder->file_links.'_thumb.'.$data->folder->file_ext;
            echo CHtml::link(CHtml::image($img,$data->pro_name),array('details','id'=>$data->pro_id));
        ?>
    </div>
    <div class="span-6">
    	<h2>
    		<?php echo CHtml::link(CHtml::encode($data->pro_name), array('view', 'id'=>$data->pro_id)); ?>
    		<?php echo CHtml::link($data->category->cate_name, array('list','id'=>$data->pro_cid),array('style'=>'color:orange;font-size:12px;'));?>
    	</h2>   
    
    	<b><?php echo CHtml::encode($data->getAttributeLabel('pro_describe')); ?>:</b>
    	<?php echo CHtml::encode($data->pro_describe); ?>
  
    </div>
    <div class="span-4 last" style="text-align:right;">
    	<div>    		
    		<h2>￥<?php echo CHtml::encode($data->pro_price); ?></h2>
    	</div>    

    	<?php echo Product::model()->getDiscountState($data->pro_discount); ?>  
    </div>


</div>